package com.yupi.bi.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yupi.bi.model.entity.Chart;
import com.yupi.bi.model.dto.chart.ChartQueryRequest;

/**
* @author dwbf
* @description 针对表【chart(图表信息表)】的数据库操作Service
* @createDate 2023-07-30 22:03:01
*/
public interface ChartService extends IService<Chart> {
    QueryWrapper<Chart> getQueryWrapper(ChartQueryRequest chartQueryRequest);

    /**
     * 更新图表失败处理
     *
     * @param chartId
     * @param execMessage
     */
    void handleChartUpdateError(long chartId, String execMessage);
}
